
import request from '@/utils/request'

export function personLevel(data) {
  return request({
    url: '/personLevel/add',
    method: 'put',
    data
  })
}
export function getpersonLevel(data) {
  return request({
    url: '/personLevel/page',
    method: 'get',
    params: data
  })
}
export function delpersonLevel(id) {
  return request({
    url: `/personLevel/delete/${id}`,
    method: 'delete'

  })
}
export function delworkPay(id) {
  return request({
    url: `/workPay/delete/${id}`,
    method: 'delete'

  })
}

export function addworkPay(data) {
  return request({
    url: `/workPay/add`,
    method: 'put',
    data
  })
}
export function getworkPay(data) {
  return request({
    url: '/workPay/page',
    method: 'get',
    params: data
  })
}
export function getsalary(data) {
  return request({
    url: '/salary/page',
    method: 'get',
    params: data
  })
}
export function countsalary(data) {
  return request({
    url: '/salary/getSalary',
    method: 'get',
    params: data
  })
}
export function mopLineDown(data) {
  return request({
    url: '/mopLine/getStationUnderProduct',
    method: 'get',
    params: data
  })
}
